<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Embroidermodder: ImageWidget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js", "TeX/AMSmath.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_embroidermodder_2_0.png"/></td>
  <td id="projectalign">
   <div id="projectname">Embroidermodder<span id="projectnumber">&#160;2.0.0-alpha4</span>
   </div>
   <div id="projectbrief">A free and open source software for machine embroidery</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classImageWidget.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classImageWidget-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ImageWidget Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p> 
 <a href="classImageWidget.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="embroidermodder_8h_source.html">embroidermodder.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0c97a76ae381382fe5114df5e46860cf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImageWidget.html#a0c97a76ae381382fe5114df5e46860cf">ImageWidget</a> (QString filename, QWidget *parent=0)</td></tr>
<tr class="memdesc:a0c97a76ae381382fe5114df5e46860cf"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classImageWidget.html#a0c97a76ae381382fe5114df5e46860cf" title="ImageWidget::ImageWidget.">ImageWidget::ImageWidget</a>.  <a href="classImageWidget.html#a0c97a76ae381382fe5114df5e46860cf">More...</a><br /></td></tr>
<tr class="separator:a0c97a76ae381382fe5114df5e46860cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a913dec5b2dba322a203652f793dc3ec3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImageWidget.html#a913dec5b2dba322a203652f793dc3ec3">~ImageWidget</a> ()</td></tr>
<tr class="memdesc:a913dec5b2dba322a203652f793dc3ec3"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classImageWidget.html#a913dec5b2dba322a203652f793dc3ec3" title="ImageWidget::~ImageWidget.">ImageWidget::~ImageWidget</a>.  <a href="classImageWidget.html#a913dec5b2dba322a203652f793dc3ec3">More...</a><br /></td></tr>
<tr class="separator:a913dec5b2dba322a203652f793dc3ec3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaad6f7ed8763594b4074be6862270f18"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImageWidget.html#aaad6f7ed8763594b4074be6862270f18">load</a> (QString fileName)</td></tr>
<tr class="memdesc:aaad6f7ed8763594b4074be6862270f18"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classImageWidget.html#aaad6f7ed8763594b4074be6862270f18" title="ImageWidget::load.">ImageWidget::load</a>.  <a href="classImageWidget.html#aaad6f7ed8763594b4074be6862270f18">More...</a><br /></td></tr>
<tr class="separator:aaad6f7ed8763594b4074be6862270f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a450a41fe8347cc65b1c72caeeab38e67"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImageWidget.html#a450a41fe8347cc65b1c72caeeab38e67">save</a> (QString fileName)</td></tr>
<tr class="memdesc:a450a41fe8347cc65b1c72caeeab38e67"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classImageWidget.html#a450a41fe8347cc65b1c72caeeab38e67" title="ImageWidget::save.">ImageWidget::save</a>.  <a href="classImageWidget.html#a450a41fe8347cc65b1c72caeeab38e67">More...</a><br /></td></tr>
<tr class="separator:a450a41fe8347cc65b1c72caeeab38e67"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:abc571a3a86e8388f654a9a5fa660eff5"><td class="memItemLeft" align="right" valign="top">QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImageWidget.html#abc571a3a86e8388f654a9a5fa660eff5">img</a></td></tr>
<tr class="separator:abc571a3a86e8388f654a9a5fa660eff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:accfb24f32254fb98c049727597a53956"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImageWidget.html#accfb24f32254fb98c049727597a53956">paintEvent</a> (QPaintEvent *event)</td></tr>
<tr class="memdesc:accfb24f32254fb98c049727597a53956"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classImageWidget.html#accfb24f32254fb98c049727597a53956" title="ImageWidget::paintEvent.">ImageWidget::paintEvent</a>.  <a href="classImageWidget.html#accfb24f32254fb98c049727597a53956">More...</a><br /></td></tr>
<tr class="separator:accfb24f32254fb98c049727597a53956"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0c97a76ae381382fe5114df5e46860cf" name="a0c97a76ae381382fe5114df5e46860cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c97a76ae381382fe5114df5e46860cf">&#9670;&nbsp;</a></span>ImageWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classImageWidget.html">ImageWidget</a> </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classImageWidget.html#a0c97a76ae381382fe5114df5e46860cf" title="ImageWidget::ImageWidget.">ImageWidget::ImageWidget</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td></td></tr>
    <tr><td class="paramname">parent</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a913dec5b2dba322a203652f793dc3ec3" name="a913dec5b2dba322a203652f793dc3ec3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a913dec5b2dba322a203652f793dc3ec3">&#9670;&nbsp;</a></span>~ImageWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classImageWidget.html">ImageWidget</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classImageWidget.html#a913dec5b2dba322a203652f793dc3ec3" title="ImageWidget::~ImageWidget.">ImageWidget::~ImageWidget</a>. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aaad6f7ed8763594b4074be6862270f18" name="aaad6f7ed8763594b4074be6862270f18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaad6f7ed8763594b4074be6862270f18">&#9670;&nbsp;</a></span>load()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool load </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classImageWidget.html#aaad6f7ed8763594b4074be6862270f18" title="ImageWidget::load.">ImageWidget::load</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="accfb24f32254fb98c049727597a53956" name="accfb24f32254fb98c049727597a53956"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accfb24f32254fb98c049727597a53956">&#9670;&nbsp;</a></span>paintEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classImageWidget.html#accfb24f32254fb98c049727597a53956" title="ImageWidget::paintEvent.">ImageWidget::paintEvent</a>. </p>

</div>
</div>
<a id="a450a41fe8347cc65b1c72caeeab38e67" name="a450a41fe8347cc65b1c72caeeab38e67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a450a41fe8347cc65b1c72caeeab38e67">&#9670;&nbsp;</a></span>save()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool save </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classImageWidget.html#a450a41fe8347cc65b1c72caeeab38e67" title="ImageWidget::save.">ImageWidget::save</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="abc571a3a86e8388f654a9a5fa660eff5" name="abc571a3a86e8388f654a9a5fa660eff5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc571a3a86e8388f654a9a5fa660eff5">&#9670;&nbsp;</a></span>img</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QImage img</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="embroidermodder_8h_source.html">embroidermodder.h</a></li>
<li>src/<a class="el" href="imagewidget_8cpp.html">imagewidget.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classImageWidget.html">ImageWidget</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
